﻿using System.Threading.Tasks;
using Hicap.AuthorizationServer.Core.Models.Sys;
using Hicap.AuthorizationServer.Sys.DTO.Users;

namespace Hicap.AuthorizationServer.Sys.AppService.Interface
{
    /// <summary>
    /// User应用层服务的接口方法
    /// </summary>
    public interface IUserAppService : IAuthorizationServerAppServiceBase<UserEditDto, UserListDto, User>
    {
        Task<UserListDto> Register(UserEditDto input);

        Task<UserListDto> ActiveUser(int userId);
    }
}